package com.qf.openapi.web.master.dao;


import com.qf.openapi.web.master.entity.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserDao {

    public User getUserById(@Param("id") Integer id);

    User getUserByName(@Param("email") String email);

    //查询所有用户的方法
    List<User> getAllUsers();

}
